import ajax from "@/utilszzq/request";
import '@/mock/archivemock'



export function getArchiveList() {
    return ajax({
        url: '/api/getArchiveList',
        method: 'post',
    })
}


export function addArchive(data: { file: string, size: string, date: string }) {
    return ajax({
        url: '/api/addArchive',
        method: 'post',
        data
    })
}